package com.hrms.web.sys_menu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hrms.web.sys_menu.entity.AssignTreeParm;
import com.hrms.web.sys_menu.entity.AssignTreeVo;
import com.hrms.web.sys_menu.entity.SysMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Title: SysMenuService
 * @Author zhanji
 * @Package com.hrms.web.sys_menu.service
 * @description:
 */
public interface SysMenuService extends IService<SysMenu> {
    List<SysMenu> getParent();
    //根据用户Id查询菜单
    List<SysMenu> selectMenuByUserId(Long userId);
    //根据角色Id查询菜单
    List<SysMenu> selectMenuByRoleId(Long roleId);

}
